package mr.fresh.mapper.manage;

import java.util.List;
import mr.fresh.entity.manange.FreshCategory;
import mr.fresh.entity.manange.FreshCategoryExample;
import org.apache.ibatis.annotations.Param;

public interface FreshCategoryMapper {
    long countByExample(FreshCategoryExample example);

    int deleteByExample(FreshCategoryExample example);

    int deleteByPrimaryKey(Integer categoryId);

    int insert(FreshCategory record);

    int insertSelective(FreshCategory record);

    List<FreshCategory> selectByExample(FreshCategoryExample example);

    FreshCategory selectByPrimaryKey(Integer categoryId);

    int updateByExampleSelective(@Param("record") FreshCategory record, @Param("example") FreshCategoryExample example);

    int updateByExample(@Param("record") FreshCategory record, @Param("example") FreshCategoryExample example);

    int updateByPrimaryKeySelective(FreshCategory record);

    int updateByPrimaryKey(FreshCategory record);
}